#!/usr/local/bin/python
#File: rondamon
#JGordon & Co

import sys 
from rondamon_interpreter import interpret

args = sys.argv
try:
    filename = args[1]
    f = open(filename)
    program = f.read()
    interpret(program)
except IOError,e:
    print "Rondamon: Cannot open %s. No such file or directory" % filename
except IndexError,e:
    print "Rondamon: Filename not specified"